package com.java.s5;

public class main {
    public static void main(String[] args) {
        Person p1=new Person("张三",29);
        System.out.println(p1.toString());
        Person p2=new Person("张三",29);
        System.out.println(p1.compareTo(p2));
    }
}
